package com.zhiwei.codesecurity.service.teams;

import com.zhiwei.codesecurity.common.base.NullObjectResp;
import com.zhiwei.codesecurity.common.base.ServiceResponse;
import com.zhiwei.codesecurity.entity.Teams;
import com.zhiwei.codesecurity.service.teams.response.AddTeamServRlt;
import com.zhiwei.codesecurity.service.teams.response.QueryTeamAndUserServListRlt;

public interface ITeamService {

    ServiceResponse<Teams> queryTeam(String teamId);

    ServiceResponse<AddTeamServRlt> addTeam(Teams teams);

    ServiceResponse<NullObjectResp> modifyTeam(Teams teams);

    ServiceResponse<QueryTeamAndUserServListRlt> queryTeamAndUserByTeamId(String teamId);

    ServiceResponse<NullObjectResp> deleteTeam(String teamId);

}
